package com.chefu.operate.pojo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author goodgoodstudy
 * @since 2021-03-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_tweet")
@ApiModel(value="Tweet对象", description="")
public class Tweet implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "推文主键")
    @TableId(value = "tweet_id", type = IdType.ID_WORKER)
    private Long tweetId;

    @ApiModelProperty(value = "服务分类编码")
    private Long scId;

    private String pcChildCode;

    @ApiModelProperty(value = "推文名称")
    private String tweetName;

    @ApiModelProperty(value = "服务分类id")
    private String serveClassifyId;

    @ApiModelProperty(value = "分类类型（服务分类0配件分类1）")
    private Integer tweType;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "配件1级分类id")
    private String apcL1;

    @ApiModelProperty(value = "配件2级分类id")
    private String apcL2;


}
